package com.woniuxy.microstockserver.service;

import com.woniuxy.microstockserver.bean.EnterStockGoodsDetailBean;
import org.apache.ibatis.annotations.Param;

/**
 * 入库商品详情service
 */
import java.util.List;


public interface IEnterStockGoodsDetailService {
    /**
     * 新增入库单的新增入库商品
     * @param
     * @param
     */
    int saveEnterStockGoodsDetailMapper(Long esId, List<EnterStockGoodsDetailBean> enterStockGoodsDetailBeanList);

    /**
     * 根据入库单外键id查询入库商品详情
     */
    List<EnterStockGoodsDetailBean> findEnterStockAndGoodsDetail(Long id);

    /**
     * 根据入库单外键id，删除入库单商品信息，主要用于修改入库单
     * @param id
     */
    void deleteByEsId(Long id);
}
